﻿
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Collect.aspx.cs" Inherits="Default2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
  
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    
</asp:Content>

   

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
 
</asp:Content>

 <asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder3" runat="Server"> 
</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
    <asp:Panel ID="pnlCart" runat="server" CssClass="auto-style2" Height="734px" Width="800px">
    <asp:GridView ID="gvCart" runat="server" AutoGenerateColumns="False" Width="800px" CellPadding="4" ForeColor="#333333" GridLines="None"  >
        <AlternatingRowStyle BackColor="White" />
        <Columns>        
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:CheckBox ID="chkProduct" runat="server" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="SaleOfGoodsID" HeaderText="物品ID" /> 
            <asp:BoundField DataField="CollectionTime" HeaderText="收藏时间" />
            <asp:BoundField DataField="GoodsName" HeaderText="物品名称" />
        </Columns>
        <EditRowStyle BackColor="#2461BF" />
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#EFF3FB" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#F5F7FB" />
        <SortedAscendingHeaderStyle BackColor="#6D95E1" />
        <SortedDescendingCellStyle BackColor="#E9EBEF" />
        <SortedDescendingHeaderStyle BackColor="#4870BE" />
    </asp:GridView>
       
    <br />
      <br />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Button ID="btnDelete" runat="server" Text="删除商品" OnClick="btnDelete_Click" CssClass="auto-style1" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="btnClear" runat="server" CssClass="auto-style1" OnClick="btnClear_Click" Text="清空收藏" />
        <br />
        <br />
        <br />
        &nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label1" runat="server" ></asp:Label>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
  
  </asp:Panel>
     <br />
     <br />
   <asp:Label ID="lblCart" runat="server" CssClass="auto-style3" Width="384px"></asp:Label>
</asp:Content>